package reader;

import java.io.Reader;

import reader.xml.XMLReader;

public class ReaderFactory {

    private static ReaderFactory factory;

    private ReaderFactory() {}

    public static ReaderFactory getInstance() {
        if (factory == null) {
            factory = new ReaderFactory();
        }
        return factory;
    }

    public IReader getReader(Reader stringReader) {
        return new XMLReader();
    }

}
